package com.hualan.sfzyproject.service;

import com.hualan.sfzyproject.domain.ConsultationEvaluation;
import com.hualan.sfzyproject.mapper.ConsultationEvaluationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ConsultationEvaluationService {
    @Autowired
    private ConsultationEvaluationMapper consultationEvaluationMapper;
    public int insert(ConsultationEvaluation consultationEvaluation) {
        return consultationEvaluationMapper.insert(consultationEvaluation);
    }
//    删除
    public int delete(int evaluationId) {
        return consultationEvaluationMapper.deleteByPrimaryKey(evaluationId);
    }
}
